package com.msh.frame.web.aspect;

import com.msh.frame.common.aspect.AbstractInfoLoggerAspect;
import com.msh.frame.web.util.HttpServletRequestUtil;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.core.annotation.Order;
import org.springframework.core.io.InputStreamSource;

@Aspect
@Order(11)
public class ControllerInfoLogAspect extends AbstractInfoLoggerAspect {

  @Override
  @Pointcut("this(com.msh.frame.web.base.BaseController)")
  protected void pointcut() {
  }

  @Override
  protected boolean isSkipArgs(Object args) {
    return super.isSkipArgs(args) || args instanceof ServletRequest || args instanceof ServletResponse;
  }
}

